﻿ALTER TABLE [dbo].[PAY_IN_ON_INV_OUT]
    ADD CONSTRAINT [FK_PAY_IN_ON_INV_OUT_INVOICE_OUT] FOREIGN KEY ([INVOICE_OUT_ID]) REFERENCES [dbo].[INVOICE_OUT] ([ID]) ON DELETE CASCADE ON UPDATE NO ACTION;

